home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Shareware Grab Bag
/
Shareware Grab Bag.iso
/
012
/
quickies.arc
/
ADDFILES.BAT
next >
Wrap
DOS Batch File
|
1987-03-30
|
640b
|
22 lines
echo off
if "%1" == "" goto :help
Echo Place destination diskette in %1 and
pause
for %%f in (*.*) do if not exist %1\%%f copy %%f %1
goto :done
:help
echo This routine will copy any files in the current drive and
echo directory which do not exist in the destination drive and
echo directory, thereby adding the files to the destination without
echo overwriting any files that already exist.
echo .
echo Call is: ADDFILES d:\path or
echo ADDFILES d:
echo .
echo Where d:\path or d: is the destination.
:done
: ADDFILES d:\path or
echo ADDFILES d:
echo .
echo Where d:\p